package com.ruoyi.project.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.base.Field;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("阶段字典配置表")
@TableName("project_implement")
public class ProjectImplement extends Field {

    private static final long serialVersionUID = 1L;

    /** 表id */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("id")
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;


    /** 关联的阶段id */
    @Excel(name = "关联的阶段id")
    private Long phaseId;

    /** 实施日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实施日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date implementDate;

    /** 附件照片 */
    @Excel(name = "附件照片")
    private String images;

    /** 内容 */
    @Excel(name = "附件照片")
    private String remark;

    /** 附件 */
    @Excel(name = "附件")
    private String files;

    /** 标题 */
    @Excel(name = "标题")
    private String title;


    /** 项目id */
    @Excel(name = "项目id")
    private String projectNo;

    /** 操作人 */
    @Excel(name = "操作人")
    private String operator;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** $column.columnComment */
//    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String fileType;

    private String phaseName;



}
